import { 
    getHomeCasual,
 } from "./../api/index";
 import { 
     HOME_CASUAL,
     } from "./mutation-type";
export default {
    //1获取首页轮播图
    async reqHomeCasual({commit}){
        const result = await getHomeCasual();
        commit(HOME_CASUAL,{homecasual:result.message.data})
       
        
    }
}